package com.ruoyi.game.api.domin;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 游戏用户对象 ry_game_user
 *
 * @author qidian
 * @date 2022-05-06
 */
public class GameUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编码 */
    private Long id;

    /** 用户编码 */
    @Excel(name = "用户编码")
    private Long userId;

    /** 用户名称 */
    @Excel(name = "用户名称")
    private String userName;

    /** 用户平台币 */
    @Excel(name = "用户平台币")
    private Long userCoins;

    /** 是否包站(0=否,1=是) */
    @Excel(name = "是否包站")
    private String isFree;

    /** 推广数量 */
    @Excel(name = "推广数量")
    private Long expands;

    /** 推广地址 */
    @Excel(name = "推广地址")
    private String expandAddr;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setUserName(String userName)
    {
        this.userName = userName;
    }

    public String getUserName()
    {
        return userName;
    }
    public void setUserCoins(Long userCoins)
    {
        this.userCoins = userCoins;
    }

    public Long getUserCoins()
    {
        return userCoins;
    }
    public void setIsFree(String isFree)
    {
        this.isFree = isFree;
    }

    public String getIsFree()
    {
        return isFree;
    }
    public void setExpands(Long expands)
    {
        this.expands = expands;
    }

    public Long getExpands()
    {
        return expands;
    }
    public void setExpandAddr(String expandAddr)
    {
        this.expandAddr = expandAddr;
    }

    public String getExpandAddr()
    {
        return expandAddr;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("userCoins", getUserCoins())
            .append("isFree", getIsFree())
            .append("expands", getExpands())
            .append("expandAddr", getExpandAddr())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
